home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
plotting
/
grfsy
/
sample.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1991-04-30
|
4KB
|
255 lines
;Sample GRAFSYS Command File
;To execute this command file, run GRAFSYS as follows:
; GRAFSYS SAMPLE.CMD
;Define title, axis labels, and units:
PLOTTITLE 'Sample # 11: \theta\=1.13'
AXISLABEL X 'Voltage'
AXISLABEL Y 'Conductance'
LABELUNITS X '\mu\V'
LABELUNITS Y '\uomega\\sup\-1\sub\'
;A bit of text inside the plot
DATATEXT 2 12 0 0.15 1 'V\sub\0\sup\ = 2.53 V'
;First set of data points: We'll plot these with little squares.
PLOTSYMBOL SQUARE
INLINEDATA ERRBARS
2.418 2.583 2.014
3.230 3.003 1.116
3.979 3.684 1.424
3.053 7.285 1.103
6.422 0.104 2.093
6.909 14.16 0.919
2.138 2.582 1.398
2.726 6.294 0.837
4.372 4.767 2.623
;END OF INLINE DATA
;Second set of data points: Turn off the squares...
PLOTSYMBOL NONE
;Then, select a plot line:
PLOTLINE 0.010 SHORTDASH 1
;This is a "fitting" line, and we want it to extend to the edge of
;the plot area, so we will have the autorange algorithm ignore it.
;GRAFSYS will automatically "crop" the line to prevent it from going
;beyond the plot area.
INCLUDE NO
INLINEDATA NOERRBARS
1.000 2.344
1.035 2.380
1.070 2.417
1.105 2.453
1.140 2.490
1.175 2.527
1.210 2.564
1.245 2.602
1.280 2.639
1.315 2.676
1.350 2.714
1.385 2.752
1.420 2.790
1.455 2.828
1.490 2.866
1.525 2.904
1.560 2.943
1.595 2.981
1.630 3.020
1.665 3.059
1.700 3.098
1.735 3.138
1.770 3.177
1.805 3.217
1.840 3.257
1.875 3.297
1.910 3.337
1.945 3.378
1.980 3.418
2.015 3.459
2.050 3.500
2.085 3.541
2.120 3.583
2.155 3.625
2.190 3.667
2.225 3.709
2.260 3.751
2.295 3.794
2.330 3.837
2.365 3.880
2.400 3.923
2.435 3.967
2.470 4.010
2.505 4.055
2.540 4.099
2.575 4.144
2.610 4.188
2.645 4.234
2.680 4.279
2.715 4.325
2.750 4.371
2.785 4.417
2.820 4.463
2.855 4.510
2.890 4.557
2.925 4.605
2.960 4.653
2.995 4.701
3.030 4.749
3.065 4.798
3.100 4.847
3.135 4.896
3.170 4.945
3.205 4.995
3.240 5.046
3.275 5.096
3.310 5.147
3.345 5.198
3.380 5.250
3.415 5.302
3.450 5.354
3.485 5.407
3.520 5.460
3.555 5.513
3.590 5.567
3.625 5.621
3.660 5.676
3.695 5.731
3.730 5.786
3.765 5.842
3.800 5.898
3.835 5.954
3.870 6.011
3.905 6.068
3.940 6.126
3.975 6.184
4.010 6.242
4.045 6.301
4.080 6.360
4.115 6.420
4.150 6.480
4.185 6.541
4.220 6.602
4.255 6.663
4.290 6.725
4.325 6.787
4.360 6.850
4.395 6.913
4.430 6.977
4.465 7.041
4.500 7.105
4.535 7.170
4.570 7.236
4.605 7.302
4.640 7.368
4.675 7.435
4.710 7.502
4.745 7.570
4.780 7.639
4.815 7.707
4.850 7.777
4.885 7.847
4.920 7.917
4.955 7.988
4.990 8.059
5.025 8.131
5.060 8.203
5.095 8.276
5.130 8.350
5.165 8.424
5.200 8.498
5.235 8.573
5.270 8.649
5.305 8.725
5.340 8.801
5.375 8.879
5.410 8.956
5.445 9.035
5.480 9.113
5.515 9.193
5.550 9.273
5.585 9.353
5.620 9.435
5.655 9.516
5.690 9.599
5.725 9.681
5.760 9.765
5.795 9.849
5.830 9.934
5.865 10.019
5.900 10.105
5.935 10.191
5.970 10.278
6.005 10.366
6.040 10.454
6.075 10.543
6.110 10.633
6.145 10.723
6.180 10.814
6.215 10.905
6.250 10.997
6.285 11.090
6.320 11.184
6.355 11.278
6.390 11.372
6.425 11.468
6.460 11.564
6.495 11.660
6.530 11.758
6.565 11.856
6.600 11.954
6.635 12.054
6.670 12.154
6.705 12.255
6.740 12.356
6.775 12.458
6.810 12.561
6.845 12.665
6.880 12.769
6.915 12.874
6.950 12.979
6.985 13.086
7.020 13.193
7.055 13.301
7.090 13.409
7.125 13.518
7.160 13.628
7.195 13.739
7.230 13.851
7.265 13.963
7.300 14.076
7.335 14.189
7.370 14.304
7.405 14.419
7.440 14.535
7.475 14.652
7.510 14.769
7.545 14.888
7.580 15.007
7.615 15.127
7.650 15.247
7.685 15.369
7.720 15.491
7.755 15.614
7.790 15.738
7.825 15.862
7.860 15.988
7.895 16.114
7.930 16.241
7.965 16.369
8.000 16.498
;END OF INLINE DATA
RELEASE SCRN
END